
@randomNum: ~"`Math.round(Math.random() * 200)`px";

.thumpUp {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: no-repeat center bottom / cover url('./img/bg.png');

  .thumpUp-content {
    position: absolute;
    right: 0;
    bottom: 320px;
    width: 600px;
    height: 700px;
  }

  #canvas {
    position: absolute;
    right: 0;
    bottom: 320px;
    width: 400px;
    height: 700px;
  }

  .inner {
    width: 150px;
    height: 150px;
    line-height: 150px;
    font-size: 150px;
    position: absolute;
    bottom: 0;
    left: 60%;
  }

  .inner1 {
    animation: move 2s linear 1 forwards, sizeChange 2s linear 1 forwards, angle1 2s linear forwards;
  }

  .inner2 {
    animation: move 2s linear 1 forwards, sizeChange 2s linear 1 forwards, angle2 2s linear forwards;
  }

  .inner3 {
    animation: move 2s linear 1 forwards, sizeChange 2s linear 1 forwards, angle3 2s linear forwards;
  }

  @keyframes move {
    0% {
      bottom: 0;
    }

    5% {
      bottom: 150px;
    }

    15% {
      opacity: 1;
    }

    100% {
      bottom: 700px;
      opacity: 0;
    }
  }

  @keyframes sizeChange {
    0% {
      transform: scale(0.3);
    }

    5% {
      transform: scale(1);
    }

    35% {
      transform: scale(1);
    }

    100% {
      transform: scale(0.3);
    }
  }

  @keyframes angle1 {
    15% {
      left: 60%;
    }

    100% {
      left: 20%;
    }
  }

  @keyframes angle2 {
    15% {
      left: 60%;
    }

    100% {
      left: 40%;
    }
  }

  @keyframes angle3 {
    15% {
      left: 60%;
    }

    100% {
      left: 80%;
    }
  }
}
